//
//  VMCBaseViewController.m
//  vmcshop
//
//  Created by bigknife on 14/11/1.
//  Copyright (c) 2014年 idongler. All rights reserved.
//

#import "VMCBaseViewController.h"

@interface VMCBaseViewController ()

@end

@implementation VMCBaseViewController{
    BOOL _hasAppear;
}

- (void)viewDidLoad {
    [super viewDidLoad];
}

-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    if (!_hasAppear) {
        if(OSVersionLessThan7){
            self.titleBarHeightConstraint.constant = 44;
        }else{
            self.titleBarHeightConstraint.constant = 64;
        }
        [self viewWillAppearOnce];
        _hasAppear = YES;
    }
}

-(void) viewWillAppearOnce {
    
}

-(IBAction)goBack:(id)sender{
    [self.navigationController popViewControllerAnimated:YES];
}



//-(NSString *)tableView:(UITableView *)tableView titleForDeleteConfirmationButtonForRowAtIndexPath:(NSIndexPath *)indexPath {
//	return @"删除";
//}


@end
